<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
  <head>
    <title>String Collection Examples</title>
  </head>

  <body>
    <h3>String Collection Example</h3>

    <c:set var="str"
    value="Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday" />

    <b>Input String:</b>

    <br />

    <br />

    <c:out value="${str}" />

    <br />

    <br />

    <b>Iterating:</b>

    <br />

    <br />

    <c:forEach var="day" items="${str}">
      <c:out value="${day}" />

      <br />
    </c:forEach>
  </body>
</html>

